﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace shopruvi.Areas.Admin.Controllers
{
    public class HomeController : Controller
    {
        // GET: Admin/Home
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ViewPage(string id)
        {
            switch (id)
            {
                case "BaoCao":
                    return PartialView("BaoCao");
                case "ChungTu":
                    return PartialView("ChungTu");
                case "DanhMuc":
                    return PartialView("DanhMuc");
                case "DoiTuong":
                    return PartialView("DoiTuong");
                case "NguoiDung":
                    return PartialView("NguoiDung");
                case "ThietLap":
                    return PartialView("ThietLap");
                default:
                    break;
            }
            return PartialView();
        }
    }
}